package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

public class LoginReqDto extends CommonReqDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 账号: 手机号
	 */
	@TYWValid(min = 1, max = 11,errorMsg = "手机号错误")
	private String phone;
	
	/**
	 * 密码
	 */
	@TYWValid(min = 1, max = 20)
	private String password;
	
	/**
	 * 微信号
	 */
	@TYWValid(min = 0, max = 50)
	private String wxOpenId;
	
	/**
	 * 中介公司
	 */
	@TYWValid(min = 0, max = 20)
	private String cooCompanyId;
	

	/**
	 * 开发商id（app使用）
	 */
	private String devCompanyId;
	
	

	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getWxOpenId() {
		return wxOpenId;
	}
	
	public void setWxOpenId(String wxOpenId) {
		this.wxOpenId = wxOpenId;
	}
	
	public String getCooCompanyId() {
		return cooCompanyId;
	}
	
	public void setCooCompanyId(String cooCompanyId) {
		this.cooCompanyId = cooCompanyId;
	}
	

	
	/**
	 * @return the devCompanyId
	 */
	public String getDevCompanyId() {
		return devCompanyId;
	}
	

}
